package ru.duma.core;

/**
 * @author  cpp
 */
public class EAIException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4258486340958783069L;
	
	/**
	 * @author   cpp
	 */
	public enum Cause {
		/**
		 * @uml.property  name="pROPERTIES_CANNOT_ADD_THIS"
		 * @uml.associationEnd  
		 */
		PROPERTIES_CANNOT_ADD_THIS,
		/**
		 * @uml.property  name="tHREAD_CANNOT_ADD_ITERATOR"
		 * @uml.associationEnd  
		 */
		THREAD_CANNOT_ADD_ITERATOR,
		/**
		 * @uml.property  name="iTERATOR_IS_NULL"
		 * @uml.associationEnd  
		 */
		ITERATOR_IS_NULL
	}  
	
	/**
	 * @uml.property  name="cause"
	 * @uml.associationEnd  
	 */
	private Cause cause;
	
	public EAIException(Cause cause) {
		this.cause = cause; 
	}

	public Cause getAICause() {
		return cause;
	}
	
	
	
}
